Range

Function

This API is used to get Maintenance > Sensor Debug parameter range.

Request Message

Parameter Description

Table 1
ParameterRangeTypeDescription
channel"CH1"…"CHx"string arrayThe channels supported by the device.

Sample:

POST /API/Maintenance/SensorDebug/Range HTTP/1.1
{
    "version": "1.0",
    "data": {}
}

Response Message

Parameter Description

Table 2
ParameterRangeTypeDescription
channel_infoobjectTotal channel information see Table 3.
channel_maxintThe maximum number of channels.
Table 3
ParameterRangeTypeDescription
CH1…CHxobjectSee Table 4
Table 4
ParameterRangeTypeDescription
osd_show_enableboolosd sensor debug parameter switch
debug_param_enableboolDebug parameter enable switch
irlightobjectIntelligent infrared light parameters. See Table 5
supplylightobjectIntelligent fill light parameters. See Table 6
softpsobjectSoft photosensitivity parameters. See Table 7
Table 5
ParameterRangeTypeDescription
far_lum_y_thd_up0-0xFFFFFFFFunsigned intHigh beam brightness difference upper limit threshold
far_lum_y_thd_down0-0xFFFFFFFFunsigned intHigh beam brightness difference lower limit threshold
far_total_gain_thd0-0xFFFFFFFFunsigned intHigh beam total gain threshold
near_lum_y_thd_up0-0xFFFFFFFFunsigned intLow beam brightness difference upper limit threshold
near_lum_y_thd_down0-0xFFFFFFFFunsigned intLow beam brightness difference lower limit threshold
near_total_gain_thd0-0xFFFFFFFFunsigned intLow beam total gain threshold
Table 6
ParameterRangeTypeDescription
far_lv_thd0-0xFFFFFFFFunsigned intHigh beam brightness threshold
near_lv_thd0-0xFFFFFFFFunsigned intLow beam brightness threshold
far_gain_thd0-0xFFFFFFFFunsigned intHigh beam total gain threshold
near_gain_thd0-0xFFFFFFFFunsigned intLow beam total gain threshold
far_lum_y_thd0-0xFFFFFFFFunsigned intHigh beam brightness difference threshold
near_lum_y_thd0-0xFFFFFFFFunsigned intLow beam brightness difference threshold
black_point_thd0-0xFFFFFFFFunsigned intBlack Point Threshold
far_protect_thd0-0xFFFFFFFFunsigned intHigh beam protection threshold
near_protect_thd0-0xFFFFFFFFunsigned intLow beam protection threshold
far_increase_thd0-0xFFFFFFFFunsigned intHigh beam threshold
near_increase_thd0-0xFFFFFFFFunsigned intLow beam threshold
far_decrease_thd0-0xFFFFFFFFunsigned intHigh beam reduction threshold
near_decrease_thd0-0xFFFFFFFFunsigned intLow beam reduction threshold
far_light_on_thd_00-0xFFFFFFFFunsigned intHigh beam threshold group 1
far_light_on_thd_10-0xFFFFFFFFunsigned intHigh beam threshold group 2
far_light_on_thd_20-0xFFFFFFFFunsigned intHigh beam threshold group 3
far_light_on_thd_30-0xFFFFFFFFunsigned intHigh beam threshold group 4
near_light_on_thd_00-0xFFFFFFFFunsigned intLow beam threshold group 1
near_light_on_thd_10-0xFFFFFFFFunsigned intLow beam threshold group 2
near_light_on_thd_20-0xFFFFFFFFunsigned intLow beam threshold group 3
near_light_on_thd_30-0xFFFFFFFFunsigned intLow beam threshold Group 4
Table 7
ParameterRangeTypeDescription
day2night_thd_00-0xFFFFFFFFunsigned intDay to night threshold group 1
day2night_thd_10-0xFFFFFFFFunsigned intDay to night threshold group 2
day2night_thd_20-0xFFFFFFFFunsigned intDay to night threshold group 3
day2night_thd_30-0xFFFFFFFFunsigned intDay to night threshold group 4
night2day_d_thd_00-0xFFFFFFFFunsigned intNight to day lower threshold group 1
night2day_d_thd_10-0xFFFFFFFFunsigned intNight to day lower threshold group 2
night2day_d_thd_20-0xFFFFFFFFunsigned intNight to day lower threshold group 3
night2day_d_thd_30-0xFFFFFFFFunsigned intNight to day lower threshold group 4
night2day_ex_00-0xFFFFFFFFunsigned intNight to day increase value group 1
night2day_ex_10-0xFFFFFFFFunsigned intNight to day increase value group 2
night2day_ex_20-0xFFFFFFFFunsigned intNight to day increase value group 3
night2day_ex_30-0xFFFFFFFFunsigned intNight to day increase value group 4
night2day_R_G_ratio_00-0xFFFFFFFFdoubleR:G ratio threshold for night-to-day transition Group 1
night2day_R_G_ratio_10-0xFFFFFFFFdoubleR:G ratio threshold for night-to-day transition Group 2
night2day_R_G_ratio_20-0xFFFFFFFFdoubleR:G ratio threshold for night-to-day transition Group 3
night2day_R_G_ratio_30-0xFFFFFFFFdoubleR:G ratio threshold for night-to-day transition Group 4
night2day_R_B_ratio_00-0xFFFFFFFFdoubleR:B ratio threshold from night to day Group 1
night2day_R_B_ratio_10-0xFFFFFFFFdoubleR:B ratio threshold from night to day Group 2
night2day_R_B_ratio_20-0xFFFFFFFFdoubleR:B ratio threshold from night to day Group 3
night2day_R_B_ratio_30-0xFFFFFFFFdoubleR:B ratio threshold from night to day Group 4
lpd_day2night_gain_thd0-0xFFFFFFFFunsigned intlpd day to night gain threshold
lpd_night2day_gain_thd0-0xFFFFFFFFunsigned intlpd night to day gain threshold

Sample:

HTTP/1.1 200 OK
Content-Type: application/json
{
    "result": "success",
    "data": {
        "channel_max": 1,
        "channel_info": {
            "type": "object",
            "items": {"CH1": {
                "type": "object",
                "items": {
                    "osd_show_enable": {"type": "bool"},
                    "debug_param_enable": {"type": "bool"},
                    "irlight": {
                        "type": "object",
                        "items": {
                            "far_lum_y_thd_up": {
                                "type": "uint32",
                                "mode": "r",
                                "min": 0,
                                "max": 4294967295,
                                "default_value": 0
                            },
                            "far_lum_y_thd_down": {
                                "type": "uint32",
                                "mode": "r",
                                "min": 0,
                                "max": 4294967295,
                                "default_value": 0
                            },
                            "far_total_gain_thd": {
                                "type": "uint32",
                                "mode": "r",
                                "min": 0,
                                "max": 4294967295,
                                "default_value": 0
                            },
                            "near_lum_y_thd_up": {
                                "type": "uint32",
                                "mode": "r",
                                "min": 0,
                                "max": 4294967295,
                                "default_value": 0
                            },
                            "near_lum_y_thd_down": {
                                "type": "uint32",
                                "mode": "r",
                                "min": 0,
                                "max": 4294967295,
                                "default_value": 0
                            },
                            "near_total_gain_thd": {
                                "type": "uint32",
                                "mode": "r",
                                "min": 0,
                                "max": 4294967295,
                                "default_value": 0
                            }
                        }
                    },
                    "supplylight": {
                        "type": "object",
                        "items": {
                            "far_lv_thd": {
                                "type": "uint32",
                                "mode": "r",
                                "min": 0,
                                "max": 4294967295,
                                "default_value": 0
                            },
                            "near_lv_thd": {
                                "type": "uint32",
                                "mode": "r",
                                "min": 0,
                                "max": 4294967295,
                                "default_value": 0
                            },
                            "far_gain_thd": {
                                "type": "uint32",
                                "mode": "r",
                                "min": 0,
                                "max": 4294967295,
                                "default_value": 0
                            },
                            "near_gain_thd": {
                                "type": "uint32",
                                "mode": "r",
                                "min": 0,
                                "max": 4294967295,
                                "default_value": 0
                            },
                            "far_lum_y_thd": {
                                "type": "uint32",
                                "mode": "r",
                                "min": 0,
                                "max": 4294967295,
                                "default_value": 0
                            },
                            "near_lum_y_thd": {
                                "type": "uint32",
                                "mode": "r",
                                "min": 0,
                                "max": 4294967295,
                                "default_value": 0
                            },
                            "black_point_thd": {
                                "type": "uint32",
                                "mode": "r",
                                "min": 0,
                                "max": 4294967295,
                                "default_value": 0
                            },
                            "far_protect_thd": {
                                "type": "uint32",
                                "mode": "r",
                                "min": 0,
                                "max": 4294967295,
                                "default_value": 0
                            },
                            "near_protect_thd": {
                                "type": "uint32",
                                "mode": "r",
                                "min": 0,
                                "max": 4294967295,
                                "default_value": 0
                            },
                            "far_increase_thd": {
                                "type": "uint32",
                                "mode": "r",
                                "min": 0,
                                "max": 4294967295,
                                "default_value": 0
                            },
                            "near_increase_thd": {
                                "type": "uint32",
                                "mode": "r",
                                "min": 0,
                                "max": 4294967295,
                                "default_value": 0
                            },
                            "far_decrease_thd": {
                                "type": "uint32",
                                "mode": "r",
                                "min": 0,
                                "max": 4294967295,
                                "default_value": 0
                            },
                            "far_light_on_thd_0": {
                                "type": "uint32",
                                "mode": "r",
                                "min": 0,
                                "max": 4294967295,
                                "default_value": 0
                            },
                            "far_light_on_thd_1": {
                                "type": "uint32",
                                "mode": "r",
                                "min": 0,
                                "max": 4294967295,
                                "default_value": 0
                            },
                            "far_light_on_thd_2": {
                                "type": "uint32",
                                "mode": "r",
                                "min": 0,
                                "max": 4294967295,
                                "default_value": 0
                            },
                            "far_light_on_thd_3": {
                                "type": "uint32",
                                "mode": "r",
                                "min": 0,
                                "max": 4294967295,
                                "default_value": 0
                            },
                            "near_light_on_thd_0": {
                                "type": "uint32",
                                "mode": "r",
                                "min": 0,
                                "max": 4294967295,
                                "default_value": 0
                            },
                            "near_light_on_thd_1": {
                                "type": "uint32",
                                "mode": "r",
                                "min": 0,
                                "max": 4294967295,
                                "default_value": 0
                            },
                            "near_light_on_thd_2": {
                                "type": "uint32",
                                "mode": "r",
                                "min": 0,
                                "max": 4294967295,
                                "default_value": 0
                            },
                            "near_light_on_thd_3": {
                                "type": "uint32",
                                "mode": "r",
                                "min": 0,
                                "max": 4294967295,
                                "default_value": 0
                            },
                            "near_decrease_thd": {
                                "type": "uint32",
                                "mode": "r",
                                "min": 0,
                                "max": 4294967295,
                                "default_value": 0
                            }
                        }
                    },
                    "softps": {
                        "type": "object",
                        "items": {
                            "day2night_thd_0": {
                                "type": "uint32",
                                "mode": "r",
                                "min": 0,
                                "max": 4294967295,
                                "default_value": 0
                            },
                            "day2night_thd_1": {
                                "type": "uint32",
                                "mode": "r",
                                "min": 0,
                                "max": 4294967295,
                                "default_value": 0
                            },
                            "day2night_thd_2": {
                                "type": "uint32",
                                "mode": "r",
                                "min": 0,
                                "max": 4294967295,
                                "default_value": 0
                            },
                            "day2night_thd_3": {
                                "type": "uint32",
                                "mode": "r",
                                "min": 0,
                                "max": 4294967295,
                                "default_value": 0
                            },
                            "night2day_d_thd_0": {
                                "type": "uint32",
                                "mode": "r",
                                "min": 0,
                                "max": 4294967295,
                                "default_value": 0
                            },
                            "night2day_d_thd_1": {
                                "type": "uint32",
                                "mode": "r",
                                "min": 0,
                                "max": 4294967295,
                                "default_value": 0
                            },
                            "night2day_d_thd_2": {
                                "type": "uint32",
                                "mode": "r",
                                "min": 0,
                                "max": 4294967295,
                                "default_value": 0
                            },
                            "night2day_d_thd_3": {
                                "type": "uint32",
                                "mode": "r",
                                "min": 0,
                                "max": 4294967295,
                                "default_value": 0
                            },
                            "night2day_ex_0": {
                                "type": "uint32",
                                "mode": "r",
                                "min": 0,
                                "max": 4294967295,
                                "default_value": 0
                            },
                            "night2day_ex_1": {
                                "type": "uint32",
                                "mode": "r",
                                "min": 0,
                                "max": 4294967295,
                                "default_value": 0
                            },
                            "night2day_ex_2": {
                                "type": "uint32",
                                "mode": "r",
                                "min": 0,
                                "max": 4294967295,
                                "default_value": 0
                            },
                            "night2day_ex_3": {
                                "type": "uint32",
                                "mode": "r",
                                "min": 0,
                                "max": 4294967295,
                                "default_value": 0
                            },
                            "night2day_R_G_ratio_0": {
                                "type": "double",
                                "mode": "r",
                                "min": 0,
                                "max": 4294967295,
                                "default_value": 0
                            },
                            "night2day_R_G_ratio_1": {
                                "type": "double",
                                "mode": "r",
                                "min": 0,
                                "max": 4294967295,
                                "default_value": 0
                            },
                            "night2day_R_G_ratio_2": {
                                "type": "double",
                                "mode": "r",
                                "min": 0,
                                "max": 4294967295,
                                "default_value": 0
                            },
                            "night2day_R_G_ratio_3": {
                                "type": "double",
                                "mode": "r",
                                "min": 0,
                                "max": 4294967295,
                                "default_value": 0
                            },
                            "night2day_R_B_ratio_0": {
                                "type": "double",
                                "mode": "r",
                                "min": 0,
                                "max": 4294967295,
                                "default_value": 0
                            },
                            "night2day_R_B_ratio_1": {
                                "type": "double",
                                "mode": "r",
                                "min": 0,
                                "max": 4294967295,
                                "default_value": 0
                            },
                            "night2day_R_B_ratio_2": {
                                "type": "double",
                                "mode": "r",
                                "min": 0,
                                "max": 4294967295,
                                "default_value": 0
                            },
                            "night2day_R_B_ratio_3": {
                                "type": "double",
                                "mode": "r",
                                "min": 0,
                                "max": 4294967295,
                                "default_value": 0
                            },
                            "lpd_day2night_gain_thd": {
                                "type": "uint32",
                                "mode": "r",
                                "min": 0,
                                "max": 4294967295,
                                "default_value": 0
                            },
                            "lpd_night2day_gain_thd": {
                                "type": "uint32",
                                "mode": "r",
                                "min": 0,
                                "max": 4294967295,
                                "default_value": 0
                            }
                        }
                    }
                }
            }}
        }
    }
}

Error Code

See Response Messages Body and Common error_code for more information.